import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
    state: {
        reloadLogistics: false
    },
    mutations:{
        setReloadLogistics(state, data){
            state.reloadLogistics = data
        }
    },
    actions:{
        getReloadLogistics(){
            state => {
                return state.reloadLogistics
            }
        }
    }
})

export default store